<!DOCTYPE html>
<html lang=en>
<head>
  <meta charset="utf-8">
  
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, minimal-ui">
  <meta name="renderer" content="webkit">
  <meta http-equiv="Cache-Control" content="no-transform" />
  <meta http-equiv="Cache-Control" content="no-siteapp" />
  <meta name="apple-mobile-web-app-capable" content="yes">
  <meta name="apple-mobile-web-app-status-bar-style" content="black">
  <meta name="format-detection" content="telephone=no,email=no,adress=no">
  <!-- Color theme for statusbar -->
  <meta name="theme-color" content="#000000" />
  <!-- 强制页面在当前窗口以独立页面显示,防止别人在框架里调用页面 -->
  <meta http-equiv="window-target" content="_top" />
  
  
  <title>Hexo</title>
  <meta name="description" content="目录  jupyter import torch 报错 failed with error code 1 in &#x2F;tmp&#x2F;pip-build-* 删除opt下的文件 apt下载失败 ‘SPPF’问题 vnc分辨率设置 多摄像头无法启动问题 部署自己的模型出错 darknet调用csi 存储器扩容 备份系统 darknet调用csi绿屏 海康摄像头花屏  jupyter impo">
<meta property="og:type" content="article">
<meta property="og:title" content="Hexo">
<meta property="og:url" content="https://gitee.com/yin-qiyu/myblog/2022/02/20/learn_jetson/issues/index.html">
<meta property="og:site_name" content="Hexo">
<meta property="og:description" content="目录  jupyter import torch 报错 failed with error code 1 in &#x2F;tmp&#x2F;pip-build-* 删除opt下的文件 apt下载失败 ‘SPPF’问题 vnc分辨率设置 多摄像头无法启动问题 部署自己的模型出错 darknet调用csi 存储器扩容 备份系统 darknet调用csi绿屏 海康摄像头花屏  jupyter impo">
<meta property="og:locale" content="en_US">
<meta property="og:image" content="https://yqypicbed.oss-cn-hangzhou.aliyuncs.com/typoraoss/image-20220222141839089.png">
<meta property="og:image" content="https://yqypicbed.oss-cn-hangzhou.aliyuncs.com/typoraoss/image-20220222141848364.png">
<meta property="og:image" content="https://yqypicbed.oss-cn-hangzhou.aliyuncs.com/typoraoss/image-20220222141854183.png">
<meta property="og:image" content="https://yqypicbed.oss-cn-hangzhou.aliyuncs.com/typoraoss/image-20220307130253917.png">
<meta property="og:image" content="https://yqypicbed.oss-cn-hangzhou.aliyuncs.com/typoraoss/1643264666720520-20220303213343533.png">
<meta property="og:image" content="https://yqypicbed.oss-cn-hangzhou.aliyuncs.com/typoraoss/image-20220228195911196.png">
<meta property="og:image" content="https://yqypicbed.oss-cn-hangzhou.aliyuncs.com/typoraoss/1643264672744049-20220303213345080.png">
<meta property="og:image" content="https://yqypicbed.oss-cn-hangzhou.aliyuncs.com/typoraoss/1643264675462158.png">
<meta property="og:image" content="https://yqypicbed.oss-cn-hangzhou.aliyuncs.com/typoraoss/1643264678560241-20220228195940915-20220303213346062.png">
<meta property="og:image" content="https://yqypicbed.oss-cn-hangzhou.aliyuncs.com/typoraoss/1643264682834350-20220303213346530.png">
<meta property="og:image" content="https://yqypicbed.oss-cn-hangzhou.aliyuncs.com/typoraoss/1643264685906494-20220303213347042.png">
<meta property="og:image" content="https://yqypicbed.oss-cn-hangzhou.aliyuncs.com/typoraoss/1643264688738464-20220303213347575.png">
<meta property="og:image" content="https://yqypicbed.oss-cn-hangzhou.aliyuncs.com/typoraoss/1643264692516357-20220303213348078.png">
<meta property="og:image" content="https://yqypicbed.oss-cn-hangzhou.aliyuncs.com/typoraoss/1643264695929779-20220303213348562.png">
<meta property="og:image" content="https://yqypicbed.oss-cn-hangzhou.aliyuncs.com/typoraoss/1643264698567932-20220303213351835.png">
<meta property="og:image" content="https://yqypicbed.oss-cn-hangzhou.aliyuncs.com/typoraoss/1643264702429809-20220303213352507.png">
<meta property="article:published_time" content="2022-02-20T05:40:02.616Z">
<meta property="article:modified_time" content="2022-06-27T13:21:56.973Z">
<meta property="article:author" content="John Doe">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://yqypicbed.oss-cn-hangzhou.aliyuncs.com/typoraoss/image-20220222141839089.png">
  <!-- Canonical links -->
  <link rel="canonical" href="https://gitee.com/yin-qiyu/myblog/2022/02/20/learn_jetson/issues/index.html">
  
    <link rel="alternate" href="/atom.xml" title="Hexo" type="application/atom+xml">
  
  
    <link rel="icon" href="/favicon.png" type="image/x-icon">
  
  
<link rel="stylesheet" href="/yin-qiyu/myblog/css/style.css">

  
  
  
  
<meta name="generator" content="Hexo 6.3.0"></head>


<body class="main-center" itemscope itemtype="http://schema.org/WebPage">
  <header class="header" itemscope itemtype="http://schema.org/WPHeader">
  <div class="slimContent">
    <div class="navbar-header">
      
      
      <div class="profile-block text-center">
        <a id="avatar" href="https://github.com/cofess" target="_blank">
          <img class="img-circle img-rotate" src="/yin-qiyu/myblog/images/avatar.jpg" width="200" height="200">
        </a>
        <h2 id="name" class="hidden-xs hidden-sm">昵称</h2>
        <h3 id="title" class="hidden-xs hidden-sm hidden-md">Web Developer &amp; Designer</h3>
        <small id="location" class="text-muted hidden-xs hidden-sm"><i class="icon icon-map-marker"></i> Shenzhen, China</small>
      </div>
      
      <div class="search" id="search-form-wrap">

    <form class="search-form sidebar-form">
        <div class="input-group">
            <input type="text" class="search-form-input form-control" placeholder="Search" />
            <span class="input-group-btn">
                <button type="submit" class="search-form-submit btn btn-flat" onclick="return false;"><i class="icon icon-search"></i></button>
            </span>
        </div>
    </form>
    <div class="ins-search">
  <div class="ins-search-mask"></div>
  <div class="ins-search-container">
    <div class="ins-input-wrapper">
      <input type="text" class="ins-search-input" placeholder="Type something..." x-webkit-speech />
      <button type="button" class="close ins-close ins-selectable" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
    </div>
    <div class="ins-section-wrapper">
      <div class="ins-section-container"></div>
    </div>
  </div>
</div>


</div>
      <button class="navbar-toggle collapsed" type="button" data-toggle="collapse" data-target="#main-navbar" aria-controls="main-navbar" aria-expanded="false">
        <span class="sr-only">Toggle navigation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
    </div>
    <nav id="main-navbar" class="collapse navbar-collapse" itemscope itemtype="http://schema.org/SiteNavigationElement" role="navigation">
      <ul class="nav navbar-nav main-nav ">
        
        
        <li class="menu-item menu-item-home">
          <a href="/yin-qiyu/myblog/.">
            
            <i class="icon icon-home-fill"></i>
            
            <span class="menu-title">Home</span>
          </a>
        </li>
        
        
        <li class="menu-item menu-item-archives">
          <a href="/yin-qiyu/myblog/archives">
            
            <i class="icon icon-archives-fill"></i>
            
            <span class="menu-title">Archives</span>
          </a>
        </li>
        
        
        <li class="menu-item menu-item-categories">
          <a href="/yin-qiyu/myblog/categories">
            
            <i class="icon icon-folder"></i>
            
            <span class="menu-title">Categories</span>
          </a>
        </li>
        
        
        <li class="menu-item menu-item-tags">
          <a href="/yin-qiyu/myblog/tags">
            
            <i class="icon icon-tags"></i>
            
            <span class="menu-title">Tags</span>
          </a>
        </li>
        
        
        <li class="menu-item menu-item-repository">
          <a href="/yin-qiyu/myblog/repository">
            
            <i class="icon icon-project"></i>
            
            <span class="menu-title">Repository</span>
          </a>
        </li>
        
        
        <li class="menu-item menu-item-books">
          <a href="/yin-qiyu/myblog/books">
            
            <i class="icon icon-book-fill"></i>
            
            <span class="menu-title">Books</span>
          </a>
        </li>
        
        
        <li class="menu-item menu-item-links">
          <a href="/yin-qiyu/myblog/links">
            
            <i class="icon icon-friendship"></i>
            
            <span class="menu-title">Links</span>
          </a>
        </li>
        
        
        <li class="menu-item menu-item-about">
          <a href="/yin-qiyu/myblog/about">
            
            <i class="icon icon-cup-fill"></i>
            
            <span class="menu-title">About</span>
          </a>
        </li>
        
      </ul>
      
	
    <ul class="social-links">
    	
        <li><a href="https://github.com/cofess" target="_blank" title="Github" data-toggle=tooltip data-placement=top><i class="icon icon-github"></i></a></li>
        
        <li><a href="http://weibo.com/cofess" target="_blank" title="Weibo" data-toggle=tooltip data-placement=top><i class="icon icon-weibo"></i></a></li>
        
        <li><a href="https://twitter.com/iwebued" target="_blank" title="Twitter" data-toggle=tooltip data-placement=top><i class="icon icon-twitter"></i></a></li>
        
        <li><a href="https://www.behance.net/cofess" target="_blank" title="Behance" data-toggle=tooltip data-placement=top><i class="icon icon-behance"></i></a></li>
        
        <li><a href="/yin-qiyu/myblog/atom.xml" target="_blank" title="Rss" data-toggle=tooltip data-placement=top><i class="icon icon-rss"></i></a></li>
        
    </ul>

    </nav>
  </div>
</header>

  
    <aside class="sidebar" itemscope itemtype="http://schema.org/WPSideBar">
  <div class="slimContent">
    
      <div class="widget">
    <h3 class="widget-title">Board</h3>
    <div class="widget-body">
        <div id="board">
            <div class="content">
                <p>欢迎交流与分享经验!</p>
            </div>
        </div>
    </div>
</div>

    
      

    
      

    
      
    
      
  <div class="widget">
    <h3 class="widget-title">Archive</h3>
    <div class="widget-body">
      <ul class="archive-list"><li class="archive-list-item"><a class="archive-list-link" href="/yin-qiyu/myblog/archives/2023/07/">July 2023</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/yin-qiyu/myblog/archives/2023/04/">April 2023</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/yin-qiyu/myblog/archives/2023/03/">March 2023</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/yin-qiyu/myblog/archives/2023/02/">February 2023</a><span class="archive-list-count">2</span></li><li class="archive-list-item"><a class="archive-list-link" href="/yin-qiyu/myblog/archives/2023/01/">January 2023</a><span class="archive-list-count">5</span></li><li class="archive-list-item"><a class="archive-list-link" href="/yin-qiyu/myblog/archives/2022/04/">April 2022</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/yin-qiyu/myblog/archives/2022/03/">March 2022</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/yin-qiyu/myblog/archives/2022/02/">February 2022</a><span class="archive-list-count">7</span></li></ul>
    </div>
  </div>


    
      
  <div class="widget">
    <h3 class="widget-title">Recent Posts</h3>
    <div class="widget-body">
      <ul class="recent-post-list list-unstyled no-thumbnail">
        
          <li>
            
            <div class="item-inner">
              <p class="item-category">
                
              </p>
              <p class="item-title">
                <a href="/yin-qiyu/myblog/2023/07/13/hello-world/" class="title">Hello World</a>
              </p>
              <p class="item-date">
                <time datetime="2023-07-13T14:49:10.957Z" itemprop="datePublished">2023-07-13</time>
              </p>
            </div>
          </li>
          
          <li>
            
            <div class="item-inner">
              <p class="item-category">
                
              </p>
              <p class="item-title">
                <a href="/yin-qiyu/myblog/2023/04/04/FreeRTOS/lonely_binary/" class="title">(no title)</a>
              </p>
              <p class="item-date">
                <time datetime="2023-04-04T06:56:35.461Z" itemprop="datePublished">2023-04-04</time>
              </p>
            </div>
          </li>
          
          <li>
            
            <div class="item-inner">
              <p class="item-category">
                
              </p>
              <p class="item-title">
                <a href="/yin-qiyu/myblog/2023/03/16/esp/esp-idf/issue/" class="title">(no title)</a>
              </p>
              <p class="item-date">
                <time datetime="2023-03-16T06:02:58.279Z" itemprop="datePublished">2023-03-16</time>
              </p>
            </div>
          </li>
          
          <li>
            
            <div class="item-inner">
              <p class="item-category">
                
              </p>
              <p class="item-title">
                <a href="/yin-qiyu/myblog/2023/02/26/%E5%A2%A8%E6%B0%B4%E5%B1%8F/Untitled/" class="title">(no title)</a>
              </p>
              <p class="item-date">
                <time datetime="2023-02-25T17:10:25.099Z" itemprop="datePublished">2023-02-26</time>
              </p>
            </div>
          </li>
          
          <li>
            
            <div class="item-inner">
              <p class="item-category">
                
              </p>
              <p class="item-title">
                <a href="/yin-qiyu/myblog/2023/02/02/%E5%A2%A8%E6%B0%B4%E5%B1%8F/epaper/" class="title">(no title)</a>
              </p>
              <p class="item-date">
                <time datetime="2023-02-02T05:54:50.611Z" itemprop="datePublished">2023-02-02</time>
              </p>
            </div>
          </li>
          
      </ul>
    </div>
  </div>
  

    
  </div>
</aside>

  
  
<main class="main" role="main">
  <div class="content">
  <article id="post-learn_jetson/issues" class="article article-type-post" itemscope itemtype="http://schema.org/BlogPosting">
    
    <div class="article-header">
      
      <div class="article-meta">
        <span class="article-date">
    <i class="icon icon-calendar-check"></i>
	<a href="/yin-qiyu/myblog/2022/02/20/learn_jetson/issues/" class="article-date">
	  <time datetime="2022-02-20T05:40:02.616Z" itemprop="datePublished">2022-02-20</time>
	</a>
</span>
        
        

        

        <span class="post-comment"><i class="icon icon-comment"></i> <a href="/yin-qiyu/myblog/2022/02/20/learn_jetson/issues/#comments" class="article-comment-link">Comments</a></span>
        
      </div>
    </div>
    <div class="article-entry marked-body" itemprop="articleBody">
      
        <p>目录</p>
<ul>
<li><a href="#jupyter-import-torch-%E6%8A%A5%E9%94%99">jupyter import torch 报错</a></li>
<li><a href="#failed-with-error-code-1-in-tmppip-build-">failed with error code 1 in &#x2F;tmp&#x2F;pip-build-*</a></li>
<li><a href="#%E5%88%A0%E9%99%A4opt%E4%B8%8B%E7%9A%84%E6%96%87%E4%BB%B6">删除opt下的文件</a></li>
<li><a href="#apt%E4%B8%8B%E8%BD%BD%E5%A4%B1%E8%B4%A5">apt下载失败</a></li>
<li><a href="#sppf%E9%97%AE%E9%A2%98">‘SPPF’问题</a></li>
<li><a href="#vnc%E5%88%86%E8%BE%A8%E7%8E%87%E8%AE%BE%E7%BD%AE">vnc分辨率设置</a></li>
<li><a href="#%E5%A4%9A%E6%91%84%E5%83%8F%E5%A4%B4%E6%97%A0%E6%B3%95%E5%90%AF%E5%8A%A8%E9%97%AE%E9%A2%98">多摄像头无法启动问题</a></li>
<li><a href="#%E9%83%A8%E7%BD%B2%E8%87%AA%E5%B7%B1%E7%9A%84%E6%A8%A1%E5%9E%8B%E5%87%BA%E9%94%99">部署自己的模型出错</a></li>
<li><a href="#darknet%E8%B0%83%E7%94%A8csi">darknet调用csi</a></li>
<li><a href="#%E5%AD%98%E5%82%A8%E5%99%A8%E6%89%A9%E5%AE%B9">存储器扩容</a></li>
<li><a href="#%E5%A4%87%E4%BB%BD%E7%B3%BB%E7%BB%9F">备份系统</a></li>
<li><a href="#darknet%E8%B0%83%E7%94%A8csi%E7%BB%BF%E5%B1%8F">darknet调用csi绿屏</a></li>
<li><a href="#%E6%B5%B7%E5%BA%B7%E6%91%84%E5%83%8F%E5%A4%B4%E8%8A%B1%E5%B1%8F">海康摄像头花屏</a></li>
</ul>
<h1 id="jupyter-import-torch-报错"><a href="#jupyter-import-torch-报错" class="headerlink" title="jupyter import torch 报错"></a>jupyter import torch 报错</h1><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">OSError:/usr/lib/aarch64-linux-gnu/libgomp.so.1: cannot allocate memory <span class="keyword">in</span> static TLS block</span><br></pre></td></tr></table></figure>

<p>搜索下方的报错信息不难找到解决方法，大概有如下几种：</p>
<p>1.修改<code>import cv2</code>的位置，将其放在<code>import tensorflow</code>以及<code>import keras</code>之前。或者放在程序的最前面，试过放在程序的最前面没有问题。</p>
<p>2.在运行<code>jupyter notebook/Lab</code>之前引入环境变量：</p>
<figure class="highlight text"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">export LD_PRELOAD=/usr/lib/aarch64-linux-gnu/libgomp.so.1</span><br></pre></td></tr></table></figure>

<p>这其中要注意，如果你的 jupyter 被设置为开机启动（我想大多数同学都会为了方便把它设为开机启动，并且监听来自所有 IP 的连接），那么在之后引入的环境变量对之前启动的 jupyter 是无效的。</p>
<p>根据中外网友的反映，方案1，2都可能有效，但在笔者的测试过程中，只有方案2有效，且每次启动jupyter前都要运行一遍，十分的麻烦。但好在笔者注意到了官方人员的一个回复：</p>
<p><img src="https://yqypicbed.oss-cn-hangzhou.aliyuncs.com/typoraoss/image-20220222141839089.png" alt="image-20220222141839089"></p>
<p>原来 jupyter 会开启另一个进程去执行 Python 代码，<strong>而我们当前引入的环境变量实际上只对当前进程有效</strong>，也就是说每一次引入的环境变量在关闭当前的SSH连接（物理机上就是当前终端窗口）后即失效了，所以每次运行jupyter notebook前都需要引入一次环境变量，是否有更方便的解决方法呢？</p>
<p>上文中提到，我们常常会把jupyter通过service的方式设置为开机启动，如果在开机启动时即引入环境变量，这样不就可以完美解决我们的问题了吗？</p>
<ol start="4">
<li>最终解决方案</li>
</ol>
<p>如果你已经把 jupyter 设置为了开机启动，那么在 <code>/etc/systemd/system</code> 中应该会有一个.service文件（如果没有可以自己百度教程设置一下），把它用<strong>sudo权限</strong>打开后内容如下：</p>
<img src="https://yqypicbed.oss-cn-hangzhou.aliyuncs.com/typoraoss/image-20220222141848364.png" alt="image-20220222141848364" width="800" />





<p>在[Service]条目中添加如下语句：</p>
<figure class="highlight text"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">Environment=&quot;LD_PRELOAD=/usr/lib/aarch64-linux-gnu/libgomp.so.1&quot;</span><br></pre></td></tr></table></figure>

<p>保存后退出编辑，重启就完成了设置，这样在每次开机启动jupyter时都会自动引入环境变量，也就不用手动输入了</p>
<p>测试一下：</p>
<img src="https://yqypicbed.oss-cn-hangzhou.aliyuncs.com/typoraoss/image-20220222141854183.png" alt="image-20220222141854183" width="800"/>





<p>一切正常，大功告成。</p>
<h1 id="failed-with-error-code-1-in-tmp-pip-build"><a href="#failed-with-error-code-1-in-tmp-pip-build" class="headerlink" title="failed with error code 1 in &#x2F;tmp&#x2F;pip-build-*"></a>failed with error code 1 in &#x2F;tmp&#x2F;pip-build-*</h1><p>我在使用pip3 install paramiko 的时候，出现了报错</p>
<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br></pre></td><td class="code"><pre><span class="line">...</span><br><span class="line">        raise DistutilsError(<span class="string">&quot;Setup script exited with %s&quot;</span> % (v.args[0],))</span><br><span class="line">    distutils.errors.DistutilsError: Setup script exited with error: <span class="built_in">command</span> <span class="string">&#x27;x86_64-linux-gnu-gcc&#x27;</span> failed with <span class="built_in">exit</span> status 1</span><br><span class="line">    </span><br><span class="line">    ----------------------------------------</span><br><span class="line">Command <span class="string">&quot;python setup.py egg_info&quot;</span> failed with error code 1 <span class="keyword">in</span> /tmp/pip-build-23ykqx51/pynacl/ </span><br></pre></td></tr></table></figure>

<p>百度了好久也试了前人的很多方法，最后终于找到了答案。</p>
<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">pip3 install --upgrade pip</span><br></pre></td></tr></table></figure>

<p>然后再执行pip3 install paramiko，然没有报错安装成功了 。</p>
<h1 id="删除opt下的文件"><a href="#删除opt下的文件" class="headerlink" title="删除opt下的文件"></a>删除opt下的文件</h1><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line"><span class="built_in">rm</span> -rf filename</span><br></pre></td></tr></table></figure>



<h1 id="apt下载失败"><a href="#apt下载失败" class="headerlink" title="apt下载失败"></a>apt下载失败</h1><p>下载过程如果因为网络原因失败的话可以在命令后加上 -i <a target="_blank" rel="noopener" href="https://pypi.tuna.tsinghua.edu.cn/simple">https://pypi.tuna.tsinghua.edu.cn/simple</a> 来使用清华镜像源</p>
<h1 id="‘SPPF’问题"><a href="#‘SPPF’问题" class="headerlink" title="‘SPPF’问题"></a>‘SPPF’问题</h1><p><a target="_blank" rel="noopener" href="https://blog.csdn.net/RooKichenn/article/details/120866650">(7条消息) Can‘t get attribute ‘SPPF‘ on ＜module ‘models.common‘ from ‘C:\Users\dell\Desktop\yolov5-5.0\mo_RookiChen的博客-CSDN博客</a></p>
<h1 id="vnc分辨率设置"><a href="#vnc分辨率设置" class="headerlink" title="vnc分辨率设置"></a>vnc分辨率设置</h1><p><a target="_blank" rel="noopener" href="https://blog.csdn.net/xiangfengbingzhi/article/details/119703356?utm_medium=distribute.pc_relevant.none-task-blog-2~default~baidujs_title~default-0.pc_relevant_paycolumn_v3&spm=1001.2101.3001.4242.1&utm_relevant_index=3">jetson nano 分辨率</a></p>
<p>应用程序-&gt;启动应用程序中添加启动应用程序</p>
<p>名称随意</p>
<p>xrandr –fb 1024x600</p>
<img src="https://yqypicbed.oss-cn-hangzhou.aliyuncs.com/typoraoss/image-20220307130253917.png" alt="image-20220307130253917" width="600" />

<h1 id="多摄像头无法启动问题"><a href="#多摄像头无法启动问题" class="headerlink" title="多摄像头无法启动问题"></a>多摄像头无法启动问题</h1><p><a target="_blank" rel="noopener" href="https://forums.developer.nvidia.com/t/deepstream4-jetson-nano-multiple-webcams-issue/79030">DeepStream4 Jetson nano 多摄像头问题 - 智能视频分析 &#x2F; DeepStream SDK - NVIDIA 开发者论坛</a></p>
<h1 id="部署自己的模型出错"><a href="#部署自己的模型出错" class="headerlink" title="部署自己的模型出错"></a>部署自己的模型出错</h1><ul>
<li>报错：</li>
</ul>
<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line">ERROR from primary_gie: Failed to create NvDsInferContext instance</span><br><span class="line">Debug info: /dvs/git/dirty/git-master_linux/deepstream/sdk/src/gst-plugins/gst-nvinfer/gstnvinfer.cpp(809): gst_nvinfer_start (): /GstPipeline:pipeline/GstBin:primary_gie_bin/GstNvInfer:primary_gie:</span><br><span class="line">Config file path: /home/yqy/workspace/Yolov5-mask-detect-in-Deepstream-5.0-tensorrt7/Deepstream 5.0/config_infer_primary_yoloV5.txt, NvDsInfer Error: NVDSINFER_CONFIG_FAILED</span><br><span class="line">App run failed</span><br></pre></td></tr></table></figure>

<ul>
<li>解决：</li>
</ul>
<h1 id="darknet调用csi"><a href="#darknet调用csi" class="headerlink" title="darknet调用csi"></a>darknet调用csi</h1><p><a target="_blank" rel="noopener" href="https://blog.csdn.net/x16516581/article/details/100570038">(7条消息) jetson-nano项目：使用csi摄像头运行yolov3-tiny demo_x16516581的博客-CSDN博客_csi摄像头 jetson nano</a></p>
<h1 id="存储器扩容"><a href="#存储器扩容" class="headerlink" title="存储器扩容"></a>存储器扩容</h1><p>1.打开虚拟机(Ubuntu 18.04)的终端，输入以下命令安装扩容软件</p>
<p>sudo apt install gparted</p>
<p><img src="https://yqypicbed.oss-cn-hangzhou.aliyuncs.com/typoraoss/1643264666720520-20220303213343533.png" alt="image.png"> </p>
<p>2.在虚拟机的系统应用内搜索并打开gparted</p>
<img src="https://yqypicbed.oss-cn-hangzhou.aliyuncs.com/typoraoss/image-20220228195911196.png" alt="image-20220228195911196" style="zoom:25%;" /> 

<p>3.选择U盘的盘符，切记这几不能选错。例如我这里选择&#x2F;dev&#x2F;sdb，可以看到&#x2F;sdb1后面有一部分是白色和一部分是灰色。</p>
<p><img src="https://yqypicbed.oss-cn-hangzhou.aliyuncs.com/typoraoss/1643264672744049-20220303213345080.png" alt="image.png"> </p>
<p>4.右键选择Unmount来卸载&#x2F;dev&#x2F;sdb1，</p>
<p><img src="https://yqypicbed.oss-cn-hangzhou.aliyuncs.com/typoraoss/1643264675462158.png" alt="image.png"> </p>
<p>5.右键选择Check检查U盘，点击上面的勾‘√’确认，再点击Apply。</p>
<p><img src="https://yqypicbed.oss-cn-hangzhou.aliyuncs.com/typoraoss/1643264678560241-20220228195940915-20220303213346062.png" alt="image.png"></p>
<p><img src="https://yqypicbed.oss-cn-hangzhou.aliyuncs.com/typoraoss/1643264682834350-20220303213346530.png" alt="image.png"> </p>
<p><img src="https://yqypicbed.oss-cn-hangzhou.aliyuncs.com/typoraoss/1643264685906494-20220303213347042.png" alt="image.png"> </p>
<p>6.选择Resize&#x2F;Move修改容量大小，直接将右边白色部分拖到最右边，再点击Resize&#x2F;Move。</p>
<p><img src="https://yqypicbed.oss-cn-hangzhou.aliyuncs.com/typoraoss/1643264688738464-20220303213347575.png" alt="image.png"> </p>
<p><img src="https://yqypicbed.oss-cn-hangzhou.aliyuncs.com/typoraoss/1643264692516357-20220303213348078.png" alt="image.png"> </p>
<p>7.点击上面的勾‘√’确认，再点击Apply.</p>
<p><img src="https://yqypicbed.oss-cn-hangzhou.aliyuncs.com/typoraoss/1643264695929779-20220303213348562.png" alt="image.png"> </p>
<p><img src="https://yqypicbed.oss-cn-hangzhou.aliyuncs.com/typoraoss/1643264698567932-20220303213351835.png" alt="image.png"> </p>
<p>8.到此U盘扩容完成。</p>
<p><img src="https://yqypicbed.oss-cn-hangzhou.aliyuncs.com/typoraoss/1643264702429809-20220303213352507.png" alt="image.png"> </p>
<h1 id="备份系统"><a href="#备份系统" class="headerlink" title="备份系统"></a>备份系统</h1><p><a target="_blank" rel="noopener" href="https://www.jetsonhacks.com/2020/08/08/clone-sd-card-jetson-nano-and-xavier-nx/">Clone SD Card – Jetson Nano and Xavier NX – JetsonHacks</a></p>
<p><a target="_blank" rel="noopener" href="https://3g.163.com/dy/article/GP684MJV0552NFB7.html">为树莓派制作系统镜像时进行瘦身，方便后续保存与批量写入|树莓派|tf卡|fdisk|linux|磁盘_手机网易网 (163.com)</a></p>
<h1 id="darknet调用csi绿屏"><a href="#darknet调用csi绿屏" class="headerlink" title="darknet调用csi绿屏"></a>darknet调用csi绿屏</h1><p><a target="_blank" rel="noopener" href="https://blog.csdn.net/qq_44360908/article/details/122777848">解决Jetson Nano使用CSI摄像头在Darknet下实时检测绿屏_&#x2F;<em>wywy</em>&#x2F;的博客-CSDN博客</a></p>
<h1 id="海康摄像头花屏"><a href="#海康摄像头花屏" class="headerlink" title="海康摄像头花屏"></a>海康摄像头花屏</h1><p>改udp连接</p>

      
    </div>
    <div class="article-footer">
      <blockquote class="mt-2x">
  <ul class="post-copyright list-unstyled">
    
    <li class="post-copyright-link hidden-xs">
      <strong>本文链接：</strong>
      <a href="https://gitee.com/yin-qiyu/myblog/2022/02/20/learn_jetson/issues/" title="" target="_blank" rel="external">https://gitee.com/yin-qiyu/myblog/2022/02/20/learn_jetson/issues/</a>
    </li>
    
    <li class="post-copyright-license">
      <strong>版权声明： </strong> 本博客所有文章除特别声明外，均采用 <a href="http://creativecommons.org/licenses/by/4.0/deed.zh" target="_blank" rel="external">CC BY 4.0 CN协议</a> 许可协议。转载请注明出处！
    </li>
  </ul>
</blockquote>


<div class="panel panel-default panel-badger">
  <div class="panel-body">
    <figure class="media">
      <div class="media-left">
        <a href="https://github.com/cofess" target="_blank" class="img-burn thumb-sm visible-lg">
          <img src="/yin-qiyu/myblog/images/avatar.jpg" class="img-rounded w-full" alt="">
        </a>
      </div>
      <div class="media-body">
        <h3 class="media-heading"><a href="https://github.com/cofess" target="_blank"><span class="text-dark">昵称</span><small class="ml-1x">Web Developer &amp; Designer</small></a></h3>
        <div>个人简介。</div>
      </div>
    </figure>
  </div>
</div>


    </div>
  </article>
  
    
  <section id="comments">
  	
      <div id="vcomments"></div>
    
  </section>


  
</div>

  <nav class="bar bar-footer clearfix" data-stick-bottom>
  <div class="bar-inner">
  
  <ul class="pager pull-left">
    
    <li class="prev">
      <a href="/yin-qiyu/myblog/2022/02/23/learn_jetson/2.%20yolov5+tensorrt+deepstream/" title="yolov5+trt+deepstream"><i class="icon icon-angle-left" aria-hidden="true"></i><span>&nbsp;&nbsp;Newer</span></a>
    </li>
    
    
    <li class="next">
      <a href="/yin-qiyu/myblog/2022/02/17/learn_jetson/README/" title="(no title)"><span>Older&nbsp;&nbsp;</span><i class="icon icon-angle-right" aria-hidden="true"></i></a>
    </li>
    
    
  </ul>
  
  
  <!-- Button trigger modal -->
  <button type="button" class="btn btn-fancy btn-donate pop-onhover bg-gradient-warning" data-toggle="modal" data-target="#donateModal"><span>$</span></button>
  <!-- <div class="wave-icon wave-icon-danger btn-donate" data-toggle="modal" data-target="#donateModal">
    <div class="wave-circle"><span class="icon"><i class="icon icon-bill"></i></span></div>
  </div> -->
  
  
  <div class="bar-right">
    
    <div class="share-component" data-sites="weibo,qq,wechat,facebook,twitter" data-mobile-sites="weibo,qq,qzone"></div>
    
  </div>
  </div>
</nav>
  
<!-- Modal -->
<div class="modal modal-center modal-small modal-xs-full fade" id="donateModal" tabindex="-1" role="dialog">
  <div class="modal-dialog" role="document">
    <div class="modal-content donate">
      <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
      <div class="modal-body">
        <div class="donate-box">
          <div class="donate-head">
            <p>Maybe you could buy me a cup of coffee.</p>
          </div>
          <div class="tab-content">
            <div role="tabpanel" class="tab-pane fade active in" id="alipay">
              <div class="donate-payimg">
                <img src="/yin-qiyu/myblog/images/donate/alipayimg.png" alt="Scan Qrcode" title="Scan" />
              </div>
              <p class="text-muted mv">Scan this qrcode</p>
              <p class="text-grey">Open alipay app scan this qrcode, buy me a coffee!</p>
            </div>
            <div role="tabpanel" class="tab-pane fade" id="wechatpay">
              <div class="donate-payimg">
                <img src="/yin-qiyu/myblog/images/donate/wechatpayimg.png" alt="Scan Qrcode" title="Scan" />
              </div>
              <p class="text-muted mv">Scan this qrcode</p>
              <p class="text-grey">Open wechat app scan this qrcode, buy me a coffee!</p>
            </div>
          </div>
          <div class="donate-footer">
            <ul class="nav nav-tabs nav-justified" role="tablist">
              <li role="presentation" class="active">
                <a href="#alipay" id="alipay-tab" role="tab" data-toggle="tab" aria-controls="alipay" aria-expanded="true"><i class="icon icon-alipay"></i> alipay</a>
              </li>
              <li role="presentation" class="">
                <a href="#wechatpay" role="tab" id="wechatpay-tab" data-toggle="tab" aria-controls="wechatpay" aria-expanded="false"><i class="icon icon-wepay"></i> wechat payment</a>
              </li>
            </ul>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>



</main>

  <footer class="footer" itemscope itemtype="http://schema.org/WPFooter">
	
	
    <ul class="social-links">
    	
        <li><a href="https://github.com/cofess" target="_blank" title="Github" data-toggle=tooltip data-placement=top><i class="icon icon-github"></i></a></li>
        
        <li><a href="http://weibo.com/cofess" target="_blank" title="Weibo" data-toggle=tooltip data-placement=top><i class="icon icon-weibo"></i></a></li>
        
        <li><a href="https://twitter.com/iwebued" target="_blank" title="Twitter" data-toggle=tooltip data-placement=top><i class="icon icon-twitter"></i></a></li>
        
        <li><a href="https://www.behance.net/cofess" target="_blank" title="Behance" data-toggle=tooltip data-placement=top><i class="icon icon-behance"></i></a></li>
        
        <li><a href="/yin-qiyu/myblog/atom.xml" target="_blank" title="Rss" data-toggle=tooltip data-placement=top><i class="icon icon-rss"></i></a></li>
        
    </ul>

    <div class="copyright">
    	
        <div class="publishby">
        	Theme by <a href="https://github.com/cofess" target="_blank"> cofess </a>base on <a href="https://github.com/cofess/hexo-theme-pure" target="_blank">pure</a>.
        </div>
    </div>
</footer>
  <script src="//cdn.jsdelivr.net/npm/jquery@1.12.4/dist/jquery.min.js"></script>
<script>
window.jQuery || document.write('<script src="js/jquery.min.js"><\/script>')
</script>

<script src="/yin-qiyu/myblog/js/plugin.min.js"></script>


<script src="/yin-qiyu/myblog/js/application.js"></script>


    <script>
(function (window) {
    var INSIGHT_CONFIG = {
        TRANSLATION: {
            POSTS: 'Posts',
            PAGES: 'Pages',
            CATEGORIES: 'Categories',
            TAGS: 'Tags',
            UNTITLED: '(Untitled)',
        },
        ROOT_URL: '/yin-qiyu/myblog/',
        CONTENT_URL: '/yin-qiyu/myblog/content.json',
    };
    window.INSIGHT_CONFIG = INSIGHT_CONFIG;
})(window);
</script>

<script src="/yin-qiyu/myblog/js/insight.js"></script>






   




   
    
  <script src="//cdn1.lncld.net/static/js/3.0.4/av-min.js"></script>
  <script src="//cdn.jsdelivr.net/npm/valine"></script>
  <script type="text/javascript">
  var GUEST = ['nick', 'mail', 'link'];
  var meta = 'nick,mail,link';
  meta = meta.split(',').filter(function(item) {
    return GUEST.indexOf(item) > -1;
  });
  new Valine({
    el: '#vcomments',
    verify: false,
    notify: false,
    appId: '',
    appKey: '',
    placeholder: 'Just go go',
    avatar: 'mm',
    meta: meta,
    pageSize: '10' || 10,
    visitor: false
  });
  </script>

     







</body>
</html>